package com.zhuhaibaoxian.wanjiuseller.retrofit;


import com.zhuhaibaoxian.wanjiuseller.bean.ReceiveListBean;
import com.zhuhaibaoxian.wanjiuseller.bean.RemarkBean;
import com.zhuhaibaoxian.wanjiuseller.bean.SureListBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/1/12.
 * ip接口类
 */
public interface IService {
    @Headers({"Content-Type: application/json", "Accept: application/json"})//需要添加头
    @GET("vmarket/index.php?controller=site&action=wjorderList&page=0&pagesize=50")
    Observable<ReceiveListBean> getList();     //获取订单列表

    @Headers({"Content-Type: application/json", "Accept: application/json"})//需要添加头
    @GET("vmarket/index.php?controller=site&action=wjupdateorder")
    Observable<SureListBean> sureList(@Query("order_mun")String order_mun);     //确认订单

    @Headers({"Content-Type: application/json", "Accept: application/json"})//需要添加头
    @GET("vmarket/index.php?controller=site&action=checkRemarks")
    Observable<RemarkBean> getRemark();     //查看留言
}
